
CREATE TABLE [dbo].[UserInvite](
	[IdUserInvite] [bigint] IDENTITY(1,1) NOT NULL,
	[Email] [varchar](256) NOT NULL,
	[InviteId] [uniqueidentifier] NOT NULL,
	[DateCreation] [datetime2](7) NOT NULL,
	[EmailSent] [bit] NOT NULL,
	[IdUserCreation] [bigint] NOT NULL,
	[IdEstablishment] [bigint] NOT NULL,
 CONSTRAINT [PK_UserInvite] PRIMARY KEY CLUSTERED 
(
	[IdUserInvite] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]


GO


